export default {
  props: {
    inSide: {
      type: Boolean,
      default: false
    },
    userId: {
      type: String,
      default: undefined
    }
  },
  data() {
    return {
    }
  },
  methods: {
    handleWhenInSide(func) {
      if (this.inSide) {
        func(this.userId)
      }
    },
  }
}
